/*
* 点餐模块
* */
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import {MainRoutingModule} from './main.routing.module';
import {IndexComponent} from './index/index.component';
import {TableModule} from "./table/table.module";
import {MainComponent} from "./main.component";
import {OrderModule} from "./order/order.module";
import {BgMaskComponent} from "../components/bg-mask/bg-mask.component";
import {ShopCartListComponent} from "./shop-cart/shop-cart-list/shop-cart-list.component";
import {ShopCartNavComponent} from "./shop-cart/shop-cart-nav/shop-cart-nav.component";
import {IndexService} from "./services/index.service";
import {ShareModule} from "../common/share.module";
import {StandardDialogComponent} from "../components/standard-dialog/standard-dialog.component";
import {IndexDataGuard} from "./grauds/index-data.guard";
import {TableService} from "./services/table.service";
import {SetModule} from "./set/set.module";
import {SearchComponent} from "./search/search.component";
import {LineUpModule} from "./line-up/lineUp.module";
import {StatisticsModule} from "./statistics/statistics.module";
import {EssModule} from './ess/ess.module';
import {OperationModule} from './operation/operation.module';

@NgModule({
  imports: [
    CommonModule,
    MainRoutingModule,
    TableModule,
    OrderModule,
    LineUpModule,
    StatisticsModule,
    ShareModule,
    SetModule,
    EssModule,
    OperationModule,
  ],
  declarations: [
    IndexComponent,
    SearchComponent,
    MainComponent,
    BgMaskComponent,
    ShopCartListComponent,
    ShopCartNavComponent,
    StandardDialogComponent
  ],
  providers: [
    IndexService,
    IndexDataGuard,
    TableService
  ]
})
export class MainModule { }
